﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Chung/QLSV.Master" AutoEventWireup="true"
    CodeBehind="DSSinhVien.aspx.cs" Inherits="proRFID_DiemDanh.Lop.DSSinhVien" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentMain" runat="server">
<div style="text-align:center; width:100%" >
    <fieldset style="width:800px">
        <legend>Danh sách sinh viên trong lớp</legend>
        <table align="center" cellpadding="0" cellspacing="0" style="text-align: center">
            <tr>
                <td  style="text-align:left;padding:10px 0px 10px 0px">
                    Lớp:&nbsp; <asp:Label ID="lbTenLop" runat="server" style="text-align:left; color:#166492; font-size:18px; padding:10px 0px 10px 0px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <table align="center" class="border">
                        <tr>                            
                            <th width="80px">
                                Mã SV
                            </th>
                            <th width="250px">
                                Họ tên
                            </th>
                            <th width="80px">
                                Mã thẻ
                            </th>
                            <th>
                                Chuyển lớp
                            </th>
                        </tr>
                        <asp:Repeater ID="rpt_danhsach" runat="server">
                            <ItemTemplate>
                                <tr>                                   
                                    <td>
                                        <%#Eval("MASV") %>
                                    </td>
                                    <td style="text-align:left;">
                                        <%#Eval("HOSV") %>&nbsp;<%#Eval("TENSV")%></td>
                                    <td>
                                        <%#Eval("MATHE") %>
                                    </td>
                                    <td>
                                        <a href='ChuyenLop.aspx?ID=<%#Eval("MALOP")%>&masv=<%#Eval("MASV") %>&tenlop=<%#Eval("TENLOP") %>'><asp:Image ID="Image1" runat="server" ImageUrl="~/Chung/img/chuyen.png" style="width:20px"/></a>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:ImageButton ID="cmdBack" runat="server" ImageUrl="~/Chung/img/back.png" 
                        CssClass="nutnhan" onclick="cmdBack_Click"  />
                    <asp:ImageButton ID="cmdAdd" runat="server" ImageUrl="~/Chung/img/add.png" 
                        CssClass="nutnhan" onclick="cmdAdd_Click"  />
                </td>
            </tr>
        </table>
    </fieldset>
</div>
</asp:Content>
